﻿<common:LayoutAwarePage x:Class="KouDai.Metro.Views.WallPage"
                        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                        xmlns:common="using:KouDai.Metro.Common"
                        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                        xmlns:local="using:KouDai.Metro.Views"
                        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                        mc:Ignorable="d">

    <Grid Style="{StaticResource LayoutRootStyle}">
        <Grid.RowDefinitions>
            <RowDefinition Height="140" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Button x:Name="backButton"
                    Click="GoBack"
                    IsEnabled="{Binding Frame.CanGoBack,
                                        ElementName=pageRoot}"
                    Style="{StaticResource BackButtonStyle}" />
            <TextBlock x:Name="pageTitle"
                       Grid.Column="1"
                       Margin="8,0,22,40"
                       IsHitTestVisible="false"
                       Style="{StaticResource PageHeaderTextStyle}"
                       Text="{StaticResource AppName}" />
        </Grid>

        <Canvas Grid.Row="0"
                Grid.RowSpan="2"
                Margin="116,156,116,26">
            <Image Canvas.Left="5"
                   Canvas.Top="5"
                   Width="153"
                   Height="188"
                   Source="ms-appx:///Images/1.jpg"
                   Stretch="Fill" />
            <Image Canvas.Left="5"
                   Canvas.Top="198"
                   Width="188"
                   Height="188"
                   Source="ms-appx:///Images/2.jpg"
                   Stretch="Fill" />
            <Image Canvas.Left="5"
                   Canvas.Top="391"
                   Width="188"
                   Height="188"
                   Source="ms-appx:///Images/3.jpg"
                   Stretch="Fill" />
            <Image Canvas.Left="163"
                   Canvas.Top="5"
                   Width="139"
                   Height="188"
                   Source="ms-appx:///Images/4.jpg"
                   Stretch="Fill" />
            <Image Canvas.Left="198"
                   Canvas.Top="198"
                   Width="188"
                   Height="188"
                   Source="ms-appx:///Images/5.jpg"
                   Stretch="Fill" />
            <Image Canvas.Left="198"
                   Canvas.Top="391"
                   Width="188"
                   Height="188"
                   Source="ms-appx:///Images/6.jpg"
                   Stretch="Fill" />
        </Canvas>
        <!--
            <Grid.RowDefinitions>
            <RowDefinition Height="140" />
            <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid>
            <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Button x:Name="backButton"
            Click="GoBack"
            IsEnabled="{Binding Frame.CanGoBack,
            ElementName=pageRoot}"
            Style="{StaticResource BackButtonStyle}" />
            <TextBlock x:Name="pageTitle"
            Grid.Column="1"
            IsHitTestVisible="false"
            Style="{StaticResource PageHeaderTextStyle}"
            Text="{StaticResource AppName}" />
            </Grid>
        -->
    </Grid>
</common:LayoutAwarePage>